package by.dkusch.aircompany.webapp.page.flight;

import org.apache.wicket.model.IModel;
import org.apache.wicket.model.ResourceModel;

import by.dkusch.aircompany.webapp.page.base.BaseListLayout;
import by.dkusch.aircompany.webapp.page.flight.panel.FlightListPanel;

public class FlightPage extends BaseListLayout {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	protected IModel<String> getPageTitle() {
		return new ResourceModel("p.flight.title");
	}

	@Override
	protected void onInitialize() {
		super.onInitialize();
		add(new FlightListPanel("panel-list", getItemsPerPage()));

	};
}
